/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sisgraf.dao;
import sisgraf.model.Cor;
import java.util.List;
/**
 *
 * @author jordan
 */
public interface CorDao {
    public boolean save(Cor cor);
    public boolean update(Cor cor);
    public Cor getCor(int id);
    public Cor getLockCor(int id);
    public boolean settLockCor(Cor cor);
    public boolean unLockCor();
    public List<Cor> list(String par);
    public boolean remove(Cor cor);
}
